package com.oak.broke.model.vip.service.impl;

import com.oak.broke.model.vip.entity.VipLevelEntity;
import com.oak.broke.model.vip.service.IVipLevelService;
import com.oak.broke.model.vip.vo.api.VipLevelVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.oak.broke.model.vip.dao.VipLevelDao;

import java.util.List;

/**
 * 会员等级表
 *
 * @author tanghan
 * @email broke@gmail.com
 * @date 2023-04-12 17:02:57
 */
@Slf4j
@Service("vipLevelService")
public class VipLevelServiceImpl extends ServiceImpl<VipLevelDao, VipLevelEntity> implements IVipLevelService {
    @Override
    public List<VipLevelVO> listVipLevel(String vipLevelType) {
        log.info("查询类型为【{}】的会员等级列表", vipLevelType);
        return baseMapper.listVipLevel(vipLevelType);
    }
}
